package org.effdom.io;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;

import org.effdom.Document;
import org.effdom.DocumentFactory;
import org.effdom.DocumentFactory.CompressType;
import org.effdom.impl.TestConst;
import org.effdom.util.Hex;
import org.junit.Before;
import org.junit.Test;

public class IOTester {

    private Document doc;
    private DocumentWriter writer;
    private DocumentReader reader;

    @Before
    public void setUp() throws Exception {
        doc = DocumentFactory.createInstance().createDocument();
        doc.rootElement(TestConst.ELEM_ROOT);
        reader = DocumentFactory.createInstance().createDocumentReader(CompressType.NONE);
        writer = DocumentFactory.createInstance().createDocumentWriter(CompressType.NONE);
    }
    
//    10   08 ff 09  03 00 01 62    08 01 05   04   00 02 61 61

//    10 08 ff 08 03 00 01 62 08 01 04 03 00 01 61
    
//    10 08 ff 0a 03 00 01 62 08 01 04 03 00 01 61
}
